<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    //示例1 变量
    var num=123;
    alert(num.toString());//"123"
    var boo=false;
    alert(boo.toString());//"false"
</script>
</html>